const http = uni.$u.http

//登录
export const miniLogin = (params) => http.post(`/api/login-mini`, params)

export const indexData = (params) => http.post(`/api/index/banner`, params)

export const orderCreate = (params) => http.post(`/api/order/create`, params)

export const orderList = (params) => http.post(`/api/order/index`, params)

export const balanceLog = (params) => http.post(`/api/user/balance-log`, params)

export const orderPay = (params) => http.post(`/api/order/pay`, params)

export const userChild = (params) => http.post(`/api/user/child`, params)